<?php #рейтинг 
class rating extends Load_use
{
	function getBlock()
	{
		$this->view->js('rating');
		return '<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Review-aggregate"> 
		   <span property="v:itemreviewed" content="ТЕСТовое вещество" /> 
		   <div rel="v:rating" class="_rating"> 
			  <span typeof="v:Rating">
				 <span property="v:average" content="3" />
				 <span property="v:best" content="5" />  
				 <span property="v:worst" content="1" /> 
			  </span>
		   </div> 
		   <span property="v:count">4</span> голоса 
		</div> ';
		$this->view->js_on_load[]='_rating.init("._rating")';
	}
}